<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>会员管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style.css" />
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/common.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputpost.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
    <div class="nav">
        <div class="fn-left">
        <input class="button01-out" type="button" onclick="look('__URL__/edit.html','添加',500,440)" value="添加" />   
        <input class="button01-out" type="button" id="checkall1" value="全选" />
        <input class="button01-out" type="button" id="checktog1" value="反选" />
        <input class="button01-out" type="button" id="checkoff1" value="取消" />
        <input class="button01-out" onclick="myform.submit()" type="button" value="发邮件" /> 
        </div>
        <em class="fn-left h25">用户名:</em>
        <div class="fn-left">
            <form method="get" action="__URL__/index.html">
             <input type="hidden" value="1" name="search" />   
             &nbsp;<input type="text" name="keyword" size="20" value="{$keyword}" class="input-text" style="height: 22px; line-height: 22px" /> <input style="border: none" class="button01-out" type="submit" value="提 交" />
        </form>
        </div>
    </div>
    <div class="info">注意事项：<br />1、删除|编辑会员信息,会员下包含的信息会同步修改。<br />2、防止误删会员管理功能屏蔽批量删除。</div>
<div class="table-list">
<table width="100%" cellspacing="0" cellpadding="0"> 
<thead>
<tr>
    <th class="one" width="20"><input id="all" type="checkbox" name="all" value="all" /></th>
    <th width="80">操作</th>
    <th width="40">状态</th>
    <th width="100">用户名</th>
    <th width="120">手机电话</th>
    <th width="150">信箱</th>
    <th width="80">姓名</th>
    <th>地址</th>
    <th width="60">等级积分</th>
    <th width="60">消费积分</th>
    
</tr>
</thead>
<form name="myform" action="__URL__/allemail" method="post">
<input type="hidden" name="action" value="postemail" />
<tbody>
    {loop $info $key $rs}	
    <tr{if $key%2} class="sys"{/if}>
    <td class="t-c" width="20"><input cssrain="one" type="checkbox" name="fid[]" value="{$rs['email']}" /></td>
    <td class="t-c">
        <span class="pt" onclick="look('__URL__/read-{$rs['id']}.html','查看',500,420)" title="查看"><img src="__PUBLIC__/images/icon_page.gif" /></span>
        <span class="window" onclick="look('__URL__/edit-{$rs['id']}.html','编辑',500,440)" title="编辑"><img src="__PUBLIC__/images/icon_edit.gif" /></span>
        <span class="del" uid="__URL__/index-{$rs['id']}.html" title="删除"><img src="__PUBLIC__/images/icon_del.gif" /></span>
    </td>
    <td class="t-c">{if $rs['lock'] == 1}锁定{else}解锁{/if}</td>
    <td class="t-c">{$rs['username']}</td>
    <td class="t-c"><span class="pt" onclick="look('__URL__/sms-{$rs['iphone']}.html','发送短信',520,350)" title="查看"><img src="__PUBLIC__/images/icon_phone.png" /></span> {$rs['iphone']}</td>
    <td class="t-l"><span class="pt" onclick="look('__URL__/email.html?email={$rs['email']}','发送信箱',620,350)" title="查看"><img src="__PUBLIC__/images/icon_email.png" /></span>  {$rs['email']}</td>
    <td class="t-c">&nbsp;{$rs['name']}</td>
    <td class="t-l"><img src="__PUBLIC__/images/icon_li.gif" /> {$rs['address']}</td>
    <td class="t-c">{$rs['allvip']}</td>
    <td class="last t-c">{$rs['vip']}</td>
</tr>
{/loop}
</tbody>
</form>
</table>
    <div class="btn h25">
        <div class="fn-right"><div id="pages">{$page}</div></div>
        <div class="fn-clear"></div>
    </div>
</div>
    </div>
</body>
</html>